Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Update pretty_assertions requirement from 0.6.1 to 1.0.0 #11

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 28, 2021

Updates the requirements on pretty_assertions to permit the latest version.

Release notes

Sourced from pretty_assertions's releases.

v1.0.0

Note: As pretty_assertions has in practice had a stable API for several years, this feature release takes the opportunity to increment the version to 1.0.0 instead of 0.8.0. No breaking changes are expected.

Removed

  • assert_ne no longer warns if values match using PartialEq but not with Debug. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)

Added

  • Officially support no_std (thanks to @​Luro02 for the report and reviews!). Adds the std and alloc features to the pretty_assertions crate, with std enabled by default (#83, @​tommilligan)
  • Adds the unstable feature to the pretty_assertions crate, for use with nightly rustc (#81, @​tommilligan)
  • Add a drop in replacement for the unstable stdlib assert_matches macro, behind the unstable flag - thanks @​gilescope for the suggestion! (#81, @​tommilligan)
Changelog

Sourced from pretty_assertions's changelog.

v1.0.0

Removed

  • assert_ne no longer warns if values match using PartialEq but not with Debug. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)

Added

  • Officially support no_std (thanks to @​Luro02 for the report and reviews!). Adds the std and alloc features to the pretty_assertions crate, with std enabled by default (#83, @​tommilligan)
  • Adds the unstable feature to the pretty_assertions crate, for use with nightly rustc (#81, @​tommilligan)
  • Add a drop in replacement for the unstable stdlib assert_matches macro, behind the unstable flag - thanks @​gilescope for the suggestion! (#81, @​tommilligan)

v0.7.2

v0.7.1

  • Fix a bug where multiline changes showed an unhelpful inline diff (#66, @​tommilligan)

v0.7.0

Changed

  • Move from difference to diff for calculating diffs. The exact assertion messages generated may differ from previous versions. (#52, @​tommilligan)

For example, the following assertion message from v0.7.0:

pretty assertion

Was previously rendered like this in v0.6.1:

pretty assertion

Added

  • Support for unsized values (#42, @​stanislav-tkach)
  • Document the Comparison struct, which was previously hidden. This can be used to generate a pretty diff of two values without panicking. (#52, @​tommilligan)

Fixed

Internal

Commits
  • 737c861 Merge pull request #83 from tommilligan/assert-eq-no-std
  • 659b66b chore: prepare for v1.0.0 release
  • 0a32464 feat: fix and test for no_std with alloc
  • 9ef3e0d Merge pull request #81 from tommilligan/assert-matches
  • d084599 chore: update tarpaulin version
  • 799d2b2 feature: add assert_matches as unstable feature
  • 55f9b7a Merge pull request #78 from tommilligan/test-macro-integrate
  • c45600c chore: make macro tests external
  • 9746ead Merge pull request #77 from tommilligan/fix-bench-std
  • a9ba6c2 bench: fix std comparison benchmarks
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) to permit the latest version.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](rust-pretty-assertions/rust-pretty-assertions@v0.6.1...v1.0.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 28, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 1, 2022

Superseded by #13.

@dependabot dependabot bot closed this Feb 1, 2022
@dependabot dependabot bot deleted the dependabot/cargo/pretty_assertions-1.0.0 branch February 1, 2022 14:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants